package com.wongoing.util;

public enum LoginType {
	
	ABNORMAL(0,"Abnormal","异常用户","#"),
	GUEST(1,"Guest","游客","#"),
	CUSTOMER(2,"Customer","客户端","/frontPage/passLogin/loginPage.html"),
	USER(3,"User","后台用户","/jsp/system/login.jsp"),
	MERCHANT(4,"Merchant","商家用户","/frontPage/cavLogin/loginPage.html");
	private int type;
	private String typeEn;
	private String typeZh;
	private String typeUrl;

	private LoginType(int type, String typeEn, String typeZh, String typeUrl) {
		this.type = type;
		this.typeEn = typeEn;
		this.typeZh = typeZh;
		this.typeUrl = typeUrl;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getTypeEn() {
		return typeEn;
	}

	public void setTypeEn(String typeEn) {
		this.typeEn = typeEn;
	}

	public String getTypeZh() {
		return typeZh;
	}

	public void setTypeZh(String typeZh) {
		this.typeZh = typeZh;
	}

	
	public String getTypeUrl() {
		return typeUrl;
	}

	public void setTypeUrl(String typeUrl) {
		this.typeUrl = typeUrl;
	}

	@Override
	public String toString() {
		return this.typeEn;
	}
	
}
